<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>


<script>

    //将数组变成非数组
    let arr1= [1,2,3,4,5];
    let arr2= [10,20,30,40,50];

    console.log(arr1)

    console.log(arr1.concat(arr2));

    console.log([...arr1,...arr2]);

    //求最大值的方法
    let ary = [1,234,32,432,432,32]
    //Math.max(1,234,32,432,432,32)
    console.log(   Math.max.apply(null,ary))

    console.log(    Math.max(...ary)
    )
</script>
</body>
</html>